<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping
  xmlns="urn:nhibernate-mapping-2.2" assembly="PlugNT.Cms.Model" namespace="PlugNT.Cms.Model">
  <class name="User" table="cms_user" lazy="false" >
    <id name="LogonID" type="Int32" unsaved-value="0" >
      <column name="id" length="4" sql-type="int" not-null="true" unique="true" />
      <generator class="identity"  />
    </id>
    <property name="Name" type="String">
      <column name="username" length="40" sql-type="varchar"  not-null="true"/>
    </property>
    <property name="Password" type="String">
      <column name="password" length="20" sql-type="varchar"  not-null="true"/>
    </property>
    <property name="EmailAddress" type="String">
      <column name="email" length="40" sql-type="varchar" not-null="true"/>
    </property>
    <property name="LastLogon" type="String">
      <column name="pic" length="50" sql-type="varchar" not-null="true"/>
    </property>
  </class>
</hibernate-mapping>

